package GUI;

import javax.swing.JPanel;
import java.awt.BorderLayout;
import javax.swing.JScrollPane;
import java.awt.GridLayout;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JLabel;
import javax.swing.JTextArea;
import java.awt.FlowLayout;
import javax.swing.JTextField;
import javax.swing.JComboBox;
import java.awt.Color;
import javax.swing.SwingConstants;
import java.awt.Font;
import javax.swing.JCheckBox;
import javax.swing.ScrollPaneConstants;

public class Sitzung extends JPanel {
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextArea ta= new JTextArea(30,30);

	/**
	 * Create the panel.
	 */
	public Sitzung() {
		setLayout(new BorderLayout(0, 0));
		
		JPanel panel_7 = new JPanel();
		add(panel_7, BorderLayout.CENTER);
		panel_7.setLayout(new BorderLayout(0, 0));
		panel_7.add(new JScrollPane(ta));
		
		JPanel panel = new JPanel();
		add(panel, BorderLayout.NORTH);
		panel.setLayout(new BorderLayout(0, 0));
		
		JPanel panel_1 = new JPanel();
		panel.add(panel_1, BorderLayout.CENTER);
		panel_1.setLayout(new BorderLayout(0, 0));
		
		JPanel panel_2 = new JPanel();
		panel_1.add(panel_2, BorderLayout.CENTER);
		panel_2.setLayout(new GridLayout(2, 2, 0, 0));
		
		JPanel panel_5 = new JPanel();
		panel_2.add(panel_5);
		panel_5.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
		
		JLabel lblNewLabel = new JLabel("Benutzer");
		panel_5.add(lblNewLabel);
		lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 15));
		lblNewLabel.setHorizontalAlignment(SwingConstants.CENTER);
		lblNewLabel.setBackground(Color.BLACK);
		
		JComboBox comboBox = new JComboBox();
		panel_5.add(comboBox);
		
		JPanel panel_6 = new JPanel();
		panel_2.add(panel_6);
		panel_6.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
		
		JLabel lblAlkohol = new JLabel("Alkohol");
		panel_6.add(lblAlkohol);
		lblAlkohol.setFont(new Font("Tahoma", Font.PLAIN, 15));
		lblAlkohol.setHorizontalAlignment(SwingConstants.CENTER);
		
		JComboBox comboBox_1 = new JComboBox();
		panel_6.add(comboBox_1);
		
		JPanel panel_3 = new JPanel();
		panel_1.add(panel_3, BorderLayout.SOUTH);
		panel_3.setLayout(new GridLayout(0, 2, 0, 0));
		
		JPanel panel_8 = new JPanel();
		panel_3.add(panel_8);
		panel_8.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
		
		JLabel lblMengeInMl = new JLabel("Menge in ml");
		panel_8.add(lblMengeInMl);
		lblMengeInMl.setHorizontalAlignment(SwingConstants.CENTER);
		
		textField_1 = new JTextField();
		panel_8.add(textField_1);
		textField_1.setColumns(5);
		
		JPanel panel_9 = new JPanel();
		panel_3.add(panel_9);
		panel_9.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
		
		JLabel lblNewLabel_2 = new JLabel("Uhrzeit");
		panel_9.add(lblNewLabel_2);
		lblNewLabel_2.setHorizontalAlignment(SwingConstants.CENTER);
		
		textField_3 = new JTextField();
		panel_9.add(textField_3);
		textField_3.setColumns(2);
		
		textField_2 = new JTextField();
		panel_9.add(textField_2);
		textField_2.setColumns(2);
		
		JPanel panel_4 = new JPanel();
		panel_3.add(panel_4);
		panel_4.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
		
		JLabel lblNewLabel_1 = new JLabel("Blutalkohol in Promille");
		panel_4.add(lblNewLabel_1);
		lblNewLabel_1.setHorizontalAlignment(SwingConstants.CENTER);
		
		textField = new JTextField();
		panel_4.add(textField);
		textField.setColumns(4);
		
		JButton btnNewButton = new JButton("\u00DCbernehmen");
		panel_3.add(btnNewButton);

	}
}
